package obj.day3.test;

/**
 * @author げっしょく
 * @date 2021/7/17
 */
public class tu {
    public static void main(String[] args) {
        cu c = new cu();
        c.sc();
    }
}

class cu{
    public void sc(){
        int a = 10;  //改变量只能定义在局部内部类之前，定义在后面则会出错
        class plase{
            public void p(){
                System.out.println("you are SB");
                System.out.println(a);
                sc1();
                System.out.println(b);
            }
        }
        plase p = new plase();
        p.p();

    }
    public void sc1(){
        System.out.println("sc1  .....   123");
    }
    int b = 30;
}
